package ace.module.account.api.model.input;

import ace.module.account.api.enums.IamAccountTagTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2024/7/4 17:22
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class IamAccountTagAddInput {
  @NotNull
  @Schema(title = "账户id")
  private Long accountId;

  /**
   * {@link IamAccountTagTypeEnum}
   */
  @NotEmpty
  @Schema(title = "账户标签类型", description = "参考类：IamAccountTagTypeEnum")
  private String tagType;

  @NotEmpty
  @Schema(title = "标签")
  private String tagKey;

  @NotNull
  @Schema(title = "标签value")
  private String tagValue;
}
